﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DTO;
using DAO;
namespace BUS
{
    public class HoaDonBUS
    {
        HoaDonDAO hddao = new HoaDonDAO();
        public bool ThemHoaDon(HoaDonDTO hddto)
        {
            return hddao.ThemHoaDon(hddto);
        }
        public int LayMaPhieuTuDong()
        {
            return hddao.LayMaPhieuTuDong();
        }
        public DataTable LayDSHoaDon()
        {
            return hddao.LayDSHoaDon();
        }
        public DataTable LayHDTheoKhachHang(int makh)
        {
            return hddao.LayHDTheoKhachHang(makh);
        }
    }
}
